package cn.com.nes.mybatis.callcenter.mapper;

import cn.com.nes.site.entity.dto.patrolPlan.PatrolPlanDTO;
import cn.com.nes.site.entity.vo.patrolPlan.QueryPatrolPlanByQueryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author nes
 */
public interface PatrolPlanMapper extends BaseMapper<PatrolPlanDTO> {

    List<PatrolPlanDTO> queryPatrolPlanByQuery(@Param("vo")QueryPatrolPlanByQueryVo vo);
    Map<String, Object> queryPatrolPlanCount(@Param("id") Long id, @Param("tableName") String tableName);
}